package utils

import (
	"MoSkeleton/framework/core"
	"MoSkeleton/framework/external_type"
)

func NewUtilInitializer() core.DoInitSystem {
	return new(UtilInitializer)
}

type UtilInitializer struct {
}

func (u *UtilInitializer) OnInitSystem() error {
	initPasswordByConfig()
	return nil
}

func init() {
	external_type.PasswordInit = NewUtilInitializer
}
